//**********************************************************
// Geometry.java        Java Foundations
//
//Demonstrates the use of an assignment to change the
//value stored in a variable.
//*********************************************************


public class Geometry
{
   //------------------------------------------------------
  //Print the number of sides of several geometric shapes.
  //--------------------------------------------------------
 
  public static void main (String[] args )
   {
 int sides = 7;  //declaration with intialization.
  System.out.println ("A  heptagon has " + sides + " sides");

    sides = 10;  //assignment statement
   System.out.println ("A  heptagon has " + sides + " sides");

     sides = 12;
    System.out.println ("A  heptagon has " + sides + " sides");
     }
}
